﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConvertBmpToScad.aspx.cs" Inherits="_2dTo3D.ConvertBmpToScad" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Convert 2D Image to 3D Printable File</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <img src="images/2D-To-3D.jpg" alt="2D B&W to 3D .SCAD" title="2D B&W to 3D .SCAD" />
        <h2>This is a free tool  to convert a 2D Grey Scale image to a 3D Scad object.
        <br />Print a GIF, PNG, or JPG (JPEG) on a 3D printer with .Scad File Format.<br />Makes a 1x1 box per pixel, that sould be easy to print on your 3D printer.
            </h2>   
             <ul>
                <li>While prints at full depth</li>
                <li>Black will not print</li>
                <li>Grey prints at depth equivalent to greyscale</li>
                <li>This is a Pixel by Pixel covestion, so everything will be squares</li>
                <li>Recommended size is 20px X 20px or less</li>
            </ul>
         
          <div style="margin:10px;padding:10px;border:1px solid black;">
          <br />Pixel Multiplier: <asp:DropDownList ID="ddlPixelMultiplier" runat="server">
                  <asp:ListItem Selected="True">1</asp:ListItem>
                  <asp:ListItem>2</asp:ListItem>
                  <asp:ListItem>3</asp:ListItem>
                  <asp:ListItem>4</asp:ListItem>
                  <asp:ListItem>5</asp:ListItem>
                  <asp:ListItem>6</asp:ListItem>
                  <asp:ListItem>7</asp:ListItem>
                  <asp:ListItem>8</asp:ListItem>
                  <asp:ListItem>9</asp:ListItem>
                  <asp:ListItem>10</asp:ListItem>
              </asp:DropDownList>       
          <br />Depth: <asp:DropDownList ID="ddlDepth" runat="server">
                  <asp:ListItem Selected="True">1</asp:ListItem>
                  <asp:ListItem>2</asp:ListItem>
                  <asp:ListItem>3</asp:ListItem>
                  <asp:ListItem>4</asp:ListItem>
                  <asp:ListItem>5</asp:ListItem>
                  <asp:ListItem>6</asp:ListItem>
                  <asp:ListItem>7</asp:ListItem>
                  <asp:ListItem>8</asp:ListItem>
                  <asp:ListItem>9</asp:ListItem>
                  <asp:ListItem>10</asp:ListItem>
              </asp:DropDownList>
        <br /><asp:FileUpload ID="fulImage" runat="server" />
        <br /><asp:CheckBox id="cbxInvert" Text="Invert" runat="server" />
        <br /><asp:Button  ID="btnSubmit"  Text="Convert"  runat="server" />
        </div>
      
        <h3>*No guarantees, no promises, and I am not responsible for your printer issues...
        <br />*File size is limited to 130px X 130px
        <br />*Clear / Transparent is always ignored
         <br />*Contact me with suggestions
        </h3>
    </div>
    </form>

     
    <a href="http://geotrackable.org"><img src="images/GeotrackablePowerpointBackgroundSeal.png" border="0" /><h2>From the maker of Geotrackable.org</h2>3D printing is the perfect way make free trackable items for geocaching.</a>

    <h3>[<a href="/">Back to main page</a>]</h3>
</body>
</html>
